package com.time.auth.application.convent;

import com.time.auth.application.dto.AuthPermissionDTO;
import com.time.auth.domain.entity.AuthPermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限DTO转换拦截器
 *
 * @author: HuangQi
 * @date: Created in 15:33 2025/9/18
 * @description: 权限DTO转换器
 */
@Mapper
public interface AuthPermissionDTOConverter {

    AuthPermissionDTOConverter INSTANCE = Mappers.getMapper(AuthPermissionDTOConverter.class);

    AuthPermissionBO convertDTOToBO(AuthPermissionDTO authPermissionDTO);

}
